import request from '@/utils/http'

// 获取量表信息
export function getScaleInfo(id: string) {
  return request.get({
    url: `/api/scale/info/list/${id}`
  })
}

// 量表保存
export function saveScale(params: {
  empi: 'string'
  integrity: 0
  scaleCode: 'string'
  questions: 'string'
  isFinish: true
}) {
  return request.post({
    url: '/api/scale/info/save',
    data: params
  })
}
